package day7;

/**
 * @author oldliu
 * @since 1.0
 */
public class Test {
    public static void main(String[] args) {
        int i=1,a=0;
        while (i<=10000){
            if (i%9!=0&&i%14!=0){
                System.out.print(i+" ");
                a++;
                if (a%20==0){
                    System.out.println();
                }
            }
            i++;
        }
    }
}
